<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%
SimpleDateFormat dateFormat =new SimpleDateFormat("yy-MM-dd"+" "+"hh:mm:ss");
Date date=new Date();
String time= dateFormat.format(date);
response.getWriter().write(time);



%>